package org.jeecg.modules.htxincailiao.industry.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.htxincailiao.industry.entity.HTIndustryMeeting;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * @Description: ht_industry_meeting
 * @Author: jeecg-boot
 * @Date:   2021-11-01
 * @Version: V1.0
 */
public interface HTIndustryMeetingMapper extends BaseMapper<HTIndustryMeeting> {

//    @Select("<script>" +
//            "SELECT *  FROM (SELECT meeting_id FROM ht_industry_meeting_apply " +
//            "WHERE apply_user_id=#{applyUserId}) " +
//            "AS T " +
//            "LEFT JOIN  ht_industry_meeting " +
//            "ON T.meeting_id=ht_industry_meeting.id " +
//            "</script>")
//    List<HTIndustryMeeting>  findAllQueryByApplyUserId(@Param("applyUserId") String applyUserId);
    List<HTIndustryMeeting> queryListByApplyUserId(@Param("page") Page<HTIndustryMeeting> page, @Param("applyUserId") String applyUserId, @Param("name") String name);
}